package vos.vn;

import vos.vn.custom.CustomRating;
import vos.vn.custom.CustomSwitch;
import vos.vn.custom.tab.Tab;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class CustomComponentsActivity extends Activity implements OnClickListener {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);        
        Button button = (Button)findViewById(R.id.button1);      		
		button.setOnClickListener(this);
    }

	@Override
	public void onClick(View v) {
		switch(v.getId()) {
		case R.id.button1:
		    Intent intent = new Intent(v.getContext(), Tab.class);
		    this.startActivityForResult(intent, 0);
		    break;
		default:
			break;
		}
	}
}